LassoScript Utility
Basics Browse Detail

[Image->Rotate]

Tag Link [Image->Rotate] Category Image
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Rotates an image clockwise by the specified amount in degrees (integer value of 0-360). An optional -BGColor parameter specifies the hex color to fill the blank areas of the resulting image.

Syntax

[Image Variable->(Rotate: Integer, -BGColor='hex color string')]

Parameters

Required Parameters
Degrees Degrees y which to rotate the image (integer value of 0-360).
Optional Parameters
-BGColor Specifies the hex color to fill the blank areas of the resulting image.

Examples

To rotate an image:

Use the [Image->Rotate] tag on a defined image variable. The following example rotates the image 60 degrees clockwise on top of a white background.

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->(Rotate: 60, -BGColor='FFFFFF')]
[$MyImage->(Save: '/images/image.jpg')]